/* Flower recognition

utilitiesFunction.h coded by Huynh Nam in 2014*/

#include <opencv/cv.h>
#include <iostream>
#include <fstream>
#include <string>
#include "opencv2/opencv.hpp"

class utilitiesFunction{
public: 
	static void writeXML(cv::Mat m, const char* filename);
	static std::vector<std::string> &split(const std::string &s, char delim, std::vector<std::string> &elems);
	static std::vector<std::string> split(const std::string &s, char delim);
	static std::vector<double> convertStringVectorToDouble(std::vector<std::string> str);
	static cv::Mat readXML(const char* filename);
};